updating oE tanh
tanh
include math.e namespace math public function tanh(object a)
computes the hyperbolic tangent of an object.
Parameters:
- x : the object to process.
Returns:
An object, the same shape as x, each atom of which was acted upon.
Comments:
The hyperbolic tangent takes values from -1 to +1.
tanh is the ratio sinh / cosh. Compare with ordinary trigonometry.
Example 1:
? tanh(LN2) -- prints out 0.6
See Also:
Not Categorized, Please Help
|